#ifndef CB_SEARCHRESULTSLOG_H
#define CB_SEARCHRESULTSLOG_H

#include <wx/string.h>
#include "loggers.h"

class wxArrayString;
class wxCommandEvent;

class  cbSearchResultsLog : public ListCtrlLogger, public wxEvtHandler {
  public:
    cbSearchResultsLog( const wxArrayString& titles, wxArrayInt& widths );
    virtual ~cbSearchResultsLog();
    void FocusEntry( size_t index );
    void SetBasePath( const wxString base ) { m_Base = base; }
    virtual wxWindow* CreateControl( wxWindow* parent );
  protected:
    void OnDoubleClick( wxCommandEvent& event );
    void SyncEditor( int selIndex );
    wxString m_Base;
  private:
    DECLARE_EVENT_TABLE()
};

#endif
